<%@ page import="java.util.List"%>
<%@ page import="java.util.ArrayList"%>
<%@ page import="net.sf.json.JSONObject"%>
<%@ page import="com.houdoudou.bean.*"%>

<%  boolean valid=true, validSuper=false;
if(session.getAttribute("programmerType")==null){ 
valid=false;}else{
 int type=(Integer) session.getAttribute("programmerType"); 
 if((type!=1)&&(type!=2)) valid=false;
 if(type==1) validSuper=true;
 } 
 if(!valid){%>
<script>
window.location.href="../programmer/programmerLogin.jsp";     
</script>
 
 <% } %>